module.exports = class extends saas.controller {
  async testAction() {
    this.data.time = saas.datetime(Date.now(),'YYYY-MM-DD HH:mm:ss');
    setTimeout(()=>{
      this.service('contextService').timeHandler();
      return this.success(this.data.time)
    },5000)
  }
  
  async test2Action(){
    return this.success(this.data.time);
  }
}